package cn.wolfcode.crm.web.controller;

import cn.wolfcode.crm.query.ClientTransferQueryObject;
import cn.wolfcode.crm.service.IClientTransferService;
import cn.wolfcode.crm.util.PageResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("clientTransfer")
public class ClientTransferController {
@Autowired
    private IClientTransferService service;

@RequestMapping("")
    public String index(){
    return "/clientTransfer/list";
}

@RequestMapping("list")
@ResponseBody
    public PageResult list(ClientTransferQueryObject qo){
        return service.query(qo);
}




}
